package com.greyshark.lib.bluetooth

sealed class BleConnectEvent {

  data class PermissionDeniedEvent(
    var info: String
  ) : BleConnectEvent()
  
  data class ConnectUnknowErrorEvent(
    var info: Exception
  ) : BleConnectEvent()

  data class ConnectParamIllegalEvent(
    var info: String
  ) : BleConnectEvent()
  
  data class ConnectTimeOutEvent(
    var info: String
  ) : BleConnectEvent()

  data class SingleConnectTimeOutEvent(
    var info: String
  ) : BleConnectEvent()
  
  data class ConnectDiscoverServiceTimeOutEvent(
    var info: String
  ) : BleConnectEvent()

  data class ConnectDeviceNotFoundEvent(
    var info: String
  ) : BleConnectEvent()
  
  data class ConnectDeviceGattErrorEvent(
    var info: String
  ) : BleConnectEvent()

  data class ConnectingEvent(
    var info: String
  ) : BleConnectEvent()

  data class DisConnectingEvent(
    var info: String
  ) : BleConnectEvent()
  
  data class ConnectedEvent(
    var info: String
  ) : BleConnectEvent()
  
  data class DisConnectedEvent(
    var info: String
  ) : BleConnectEvent()
  
}